package com.gao;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@MapperScan(basePackages = "com.gao.dao")
@EnableEurekaClient   //在服务启动后  自动注册到eureka中
public class ProviderDept8082 {
    public static void main(String[] args) {
        SpringApplication.run(ProviderDept8082.class, args);
        System.out.println("启动成功2");
    }
}
